package com.cs.widgetvp.fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.bumptech.glide.Glide;
import com.cs.base.BaseFragment;
import com.cs.base.vm.BaseViewModel;
import com.cs.widgetvp.R;
import com.cs.widgetvp.databinding.FragmentMyBinding;


/**
 * @ClassName: MyFragment
 * @Date: 2021/6/17
 * @Author: CS
 * @Description: 我的
 */
public class MyFragment extends BaseFragment<BaseViewModel,FragmentMyBinding> {

    @Override
    protected FragmentMyBinding getViewBinding(@NonNull LayoutInflater inflater, @Nullable ViewGroup container) {
        return FragmentMyBinding.inflate(inflater,container,false);
    }

    @Override
    protected void initView() {
        binding.layoutTitle.titleLContent.setVisibility(View.VISIBLE);
        binding.layoutTitle.titleSetting.setVisibility(View.VISIBLE);
        binding.layoutTitle.titleContent.setText("我的");
        Glide.with(getActivity()).load(R.drawable.main_mony_s).into(binding.userPhoto);
    }

    @Override
    protected void initData() {

    }

    @Override
    public void onClick(View v) {
    }


}